package com.guaju.yueshangLife.bean;

public class MeBean {


    /**
     * code : 200
     * msg : ok
     * data : {"id":1,"username":"guest_9VfJwXS3Fb8PT20G","group_id":0,"avatar":null,"orders":{"un_paid":0,"un_received":1,"un_reviewed":0,"refund":0}}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * username : guest_9VfJwXS3Fb8PT20G
         * group_id : 0
         * avatar : null
         * orders : {"un_paid":0,"un_received":1,"un_reviewed":0,"refund":0}
         */

        private int id;
        private String username;
        private int group_id;
        private Avatar avatar;
        private OrdersBean orders;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public int getGroup_id() {
            return group_id;
        }

        public void setGroup_id(int group_id) {
            this.group_id = group_id;
        }

        public Avatar getAvatar() {
            return avatar;
        }

        public void setAvatar(Avatar avatar) {
            this.avatar = avatar;
        }

        public OrdersBean getOrders() {
            return orders;
        }

        public void setOrders(OrdersBean orders) {
            this.orders = orders;
        }

        public static class OrdersBean {
            /**
             * un_paid : 0
             * un_received : 1
             * un_reviewed : 0
             * refund : 0
             */

            private int un_paid;
            private int un_received;
            private int un_reviewed;
            private int refund;

            public int getUn_paid() {
                return un_paid;
            }

            public void setUn_paid(int un_paid) {
                this.un_paid = un_paid;
            }

            public int getUn_received() {
                return un_received;
            }

            public void setUn_received(int un_received) {
                this.un_received = un_received;
            }

            public int getUn_reviewed() {
                return un_reviewed;
            }

            public void setUn_reviewed(int un_reviewed) {
                this.un_reviewed = un_reviewed;
            }

            public int getRefund() {
                return refund;
            }

            public void setRefund(int refund) {
                this.refund = refund;
            }
        }
    }
}
